package lab01;

/**
 * Created by lady on 2017/10/12.
 */

import java.util.Scanner;
public class Test07 {

        public static void main(String[] args) {
            Scanner in=new Scanner(System.in) ;
            System.out.println("请输入你的成绩(1-100):");
            int score=in.nextInt();
            if(score>=85){
                System.out.println("A");
            }else if(score>=70){
                System.out.println("B");
            }else if(score>=60){
                System.out.println("C");
            }else{
                System.out.println("D");
            }
        }
    }

